Optimal. Leaf size=146 \[ \frac{(b d-a e)^6 \log (d+e x)}{e^7}-\frac{b x (b d-a e)^5}{e^6}+\frac{(a+b x)^2 (b d-a e)^4}{2 e^5}-\frac{(a+b x)^3 (b d-a e)^3}{3 e^4}+\frac{(a+b x)^4 (b d-a e)^2}{4 e^3}-\frac{(a+b x)^5 (b d-a e)}{5 e^2}+\frac{(a+b x)^6}{6 e} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.175875, antiderivative size = 146, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077 \[ \frac{(b d-a e)^6 \log (d+e x)}{e^7}-\frac{b x (b d-a e)^5}{e^6}+\frac{(a+b x)^2 (b d-a e)^4}{2 e^5}-\frac{(a+b x)^3 (b d-a e)^3}{3 e^4}+\frac{(a+b x)^4 (b d-a e)^2}{4 e^3}-\frac{(a+b x)^5 (b d-a e)}{5 e^2}+\frac{(a+b x)^6}{6 e} \]
Antiderivative was successfully verified.
[In] Int[(a^2 + 2*a*b*x + b^2*x^2)^3/(d + e*x),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 71.5664, size = 122, normalized size = 0.84 \[ \frac{b x \left (a e - b d\right )^{5}}{e^{6}} + \frac{\left (a + b x\right )^{6}}{6 e} + \frac{\left (a + b x\right )^{5} \left (a e - b d\right )}{5 e^{2}} + \frac{\left (a + b x\right )^{4} \left (a e - b d\right )^{2}}{4 e^{3}} + \frac{\left (a + b x\right )^{3} \left (a e - b d\right )^{3}}{3 e^{4}} + \frac{\left (a + b x\right )^{2} \left (a e - b d\right )^{4}}{2 e^{5}} + \frac{\left (a e - b d\right )^{6} \log{\left (d + e x \right )}}{e^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b**2*x**2+2*a*b*x+a**2)**3/(e*x+d),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.168235, size = 230, normalized size = 1.58 \[ \frac{b e x \left (360 a^5 e^5+450 a^4 b e^4 (e x-2 d)+200 a^3 b^2 e^3 \left (6 d^2-3 d e x+2 e^2 x^2\right )+75 a^2 b^3 e^2 \left (-12 d^3+6 d^2 e x-4 d e^2 x^2+3 e^3 x^3\right )+6 a b^4 e \left (60 d^4-30 d^3 e x+20 d^2 e^2 x^2-15 d e^3 x^3+12 e^4 x^4\right )+b^5 \left (-60 d^5+30 d^4 e x-20 d^3 e^2 x^2+15 d^2 e^3 x^3-12 d e^4 x^4+10 e^5 x^5\right )\right )+60 (b d-a e)^6 \log (d+e x)}{60 e^7} \]
Antiderivative was successfully verified.
[In] Integrate[(a^2 + 2*a*b*x + b^2*x^2)^3/(d + e*x),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.007, size = 412, normalized size = 2.8 \[ -5\,{\frac{{b}^{4}{x}^{3}{a}^{2}d}{{e}^{2}}}+{\frac{{b}^{6}{x}^{6}}{6\,e}}+{\frac{\ln \left ( ex+d \right ){a}^{6}}{e}}+{\frac{{b}^{6}{x}^{2}{d}^{4}}{2\,{e}^{5}}}+6\,{\frac{x{a}^{5}b}{e}}-{\frac{{d}^{5}{b}^{6}x}{{e}^{6}}}+{\frac{\ln \left ( ex+d \right ){d}^{6}{b}^{6}}{{e}^{7}}}+{\frac{6\,{x}^{5}a{b}^{5}}{5\,e}}-{\frac{{b}^{6}{x}^{5}d}{5\,{e}^{2}}}+{\frac{15\,{x}^{4}{a}^{2}{b}^{4}}{4\,e}}+{\frac{{b}^{6}{x}^{4}{d}^{2}}{4\,{e}^{3}}}+{\frac{20\,{x}^{3}{a}^{3}{b}^{3}}{3\,e}}-{\frac{{b}^{6}{x}^{3}{d}^{3}}{3\,{e}^{4}}}+{\frac{15\,{x}^{2}{a}^{4}{b}^{2}}{2\,e}}+6\,{\frac{{d}^{4}a{b}^{5}x}{{e}^{5}}}-6\,{\frac{\ln \left ( ex+d \right ) d{a}^{5}b}{{e}^{2}}}-15\,{\frac{d{b}^{2}{a}^{4}x}{{e}^{2}}}-10\,{\frac{{b}^{3}{x}^{2}{a}^{3}d}{{e}^{2}}}-15\,{\frac{{d}^{3}{a}^{2}{b}^{4}x}{{e}^{4}}}+{\frac{15\,{b}^{4}{x}^{2}{a}^{2}{d}^{2}}{2\,{e}^{3}}}-3\,{\frac{{b}^{5}{x}^{2}a{d}^{3}}{{e}^{4}}}+15\,{\frac{\ln \left ( ex+d \right ){d}^{4}{a}^{2}{b}^{4}}{{e}^{5}}}-6\,{\frac{\ln \left ( ex+d \right ){d}^{5}a{b}^{5}}{{e}^{6}}}-{\frac{3\,{b}^{5}{x}^{4}ad}{2\,{e}^{2}}}+20\,{\frac{{d}^{2}{a}^{3}{b}^{3}x}{{e}^{3}}}+2\,{\frac{{b}^{5}{x}^{3}a{d}^{2}}{{e}^{3}}}+15\,{\frac{\ln \left ( ex+d \right ){d}^{2}{b}^{2}{a}^{4}}{{e}^{3}}}-20\,{\frac{\ln \left ( ex+d \right ){d}^{3}{a}^{3}{b}^{3}}{{e}^{4}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b^2*x^2+2*a*b*x+a^2)^3/(e*x+d),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.691274, size = 471, normalized size = 3.23 \[ \frac{10 \, b^{6} e^{5} x^{6} - 12 \,{\left (b^{6} d e^{4} - 6 \, a b^{5} e^{5}\right )} x^{5} + 15 \,{\left (b^{6} d^{2} e^{3} - 6 \, a b^{5} d e^{4} + 15 \, a^{2} b^{4} e^{5}\right )} x^{4} - 20 \,{\left (b^{6} d^{3} e^{2} - 6 \, a b^{5} d^{2} e^{3} + 15 \, a^{2} b^{4} d e^{4} - 20 \, a^{3} b^{3} e^{5}\right )} x^{3} + 30 \,{\left (b^{6} d^{4} e - 6 \, a b^{5} d^{3} e^{2} + 15 \, a^{2} b^{4} d^{2} e^{3} - 20 \, a^{3} b^{3} d e^{4} + 15 \, a^{4} b^{2} e^{5}\right )} x^{2} - 60 \,{\left (b^{6} d^{5} - 6 \, a b^{5} d^{4} e + 15 \, a^{2} b^{4} d^{3} e^{2} - 20 \, a^{3} b^{3} d^{2} e^{3} + 15 \, a^{4} b^{2} d e^{4} - 6 \, a^{5} b e^{5}\right )} x}{60 \, e^{6}} + \frac{{\left (b^{6} d^{6} - 6 \, a b^{5} d^{5} e + 15 \, a^{2} b^{4} d^{4} e^{2} - 20 \, a^{3} b^{3} d^{3} e^{3} + 15 \, a^{4} b^{2} d^{2} e^{4} - 6 \, a^{5} b d e^{5} + a^{6} e^{6}\right )} \log \left (e x + d\right )}{e^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b^2*x^2 + 2*a*b*x + a^2)^3/(e*x + d),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.202383, size = 474, normalized size = 3.25 \[ \frac{10 \, b^{6} e^{6} x^{6} - 12 \,{\left (b^{6} d e^{5} - 6 \, a b^{5} e^{6}\right )} x^{5} + 15 \,{\left (b^{6} d^{2} e^{4} - 6 \, a b^{5} d e^{5} + 15 \, a^{2} b^{4} e^{6}\right )} x^{4} - 20 \,{\left (b^{6} d^{3} e^{3} - 6 \, a b^{5} d^{2} e^{4} + 15 \, a^{2} b^{4} d e^{5} - 20 \, a^{3} b^{3} e^{6}\right )} x^{3} + 30 \,{\left (b^{6} d^{4} e^{2} - 6 \, a b^{5} d^{3} e^{3} + 15 \, a^{2} b^{4} d^{2} e^{4} - 20 \, a^{3} b^{3} d e^{5} + 15 \, a^{4} b^{2} e^{6}\right )} x^{2} - 60 \,{\left (b^{6} d^{5} e - 6 \, a b^{5} d^{4} e^{2} + 15 \, a^{2} b^{4} d^{3} e^{3} - 20 \, a^{3} b^{3} d^{2} e^{4} + 15 \, a^{4} b^{2} d e^{5} - 6 \, a^{5} b e^{6}\right )} x + 60 \,{\left (b^{6} d^{6} - 6 \, a b^{5} d^{5} e + 15 \, a^{2} b^{4} d^{4} e^{2} - 20 \, a^{3} b^{3} d^{3} e^{3} + 15 \, a^{4} b^{2} d^{2} e^{4} - 6 \, a^{5} b d e^{5} + a^{6} e^{6}\right )} \log \left (e x + d\right )}{60 \, e^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b^2*x^2 + 2*a*b*x + a^2)^3/(e*x + d),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 3.11456, size = 286, normalized size = 1.96 \[ \frac{b^{6} x^{6}}{6 e} + \frac{x^{5} \left (6 a b^{5} e - b^{6} d\right )}{5 e^{2}} + \frac{x^{4} \left (15 a^{2} b^{4} e^{2} - 6 a b^{5} d e + b^{6} d^{2}\right )}{4 e^{3}} + \frac{x^{3} \left (20 a^{3} b^{3} e^{3} - 15 a^{2} b^{4} d e^{2} + 6 a b^{5} d^{2} e - b^{6} d^{3}\right )}{3 e^{4}} + \frac{x^{2} \left (15 a^{4} b^{2} e^{4} - 20 a^{3} b^{3} d e^{3} + 15 a^{2} b^{4} d^{2} e^{2} - 6 a b^{5} d^{3} e + b^{6} d^{4}\right )}{2 e^{5}} + \frac{x \left (6 a^{5} b e^{5} - 15 a^{4} b^{2} d e^{4} + 20 a^{3} b^{3} d^{2} e^{3} - 15 a^{2} b^{4} d^{3} e^{2} + 6 a b^{5} d^{4} e - b^{6} d^{5}\right )}{e^{6}} + \frac{\left (a e - b d\right )^{6} \log{\left (d + e x \right )}}{e^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b**2*x**2+2*a*b*x+a**2)**3/(e*x+d),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.214273, size = 478, normalized size = 3.27 \[{\left (b^{6} d^{6} - 6 \, a b^{5} d^{5} e + 15 \, a^{2} b^{4} d^{4} e^{2} - 20 \, a^{3} b^{3} d^{3} e^{3} + 15 \, a^{4} b^{2} d^{2} e^{4} - 6 \, a^{5} b d e^{5} + a^{6} e^{6}\right )} e^{\left (-7\right )}{\rm ln}\left ({\left | x e + d \right |}\right ) + \frac{1}{60} \,{\left (10 \, b^{6} x^{6} e^{5} - 12 \, b^{6} d x^{5} e^{4} + 15 \, b^{6} d^{2} x^{4} e^{3} - 20 \, b^{6} d^{3} x^{3} e^{2} + 30 \, b^{6} d^{4} x^{2} e - 60 \, b^{6} d^{5} x + 72 \, a b^{5} x^{5} e^{5} - 90 \, a b^{5} d x^{4} e^{4} + 120 \, a b^{5} d^{2} x^{3} e^{3} - 180 \, a b^{5} d^{3} x^{2} e^{2} + 360 \, a b^{5} d^{4} x e + 225 \, a^{2} b^{4} x^{4} e^{5} - 300 \, a^{2} b^{4} d x^{3} e^{4} + 450 \, a^{2} b^{4} d^{2} x^{2} e^{3} - 900 \, a^{2} b^{4} d^{3} x e^{2} + 400 \, a^{3} b^{3} x^{3} e^{5} - 600 \, a^{3} b^{3} d x^{2} e^{4} + 1200 \, a^{3} b^{3} d^{2} x e^{3} + 450 \, a^{4} b^{2} x^{2} e^{5} - 900 \, a^{4} b^{2} d x e^{4} + 360 \, a^{5} b x e^{5}\right )} e^{\left (-6\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b^2*x^2 + 2*a*b*x + a^2)^3/(e*x + d),x, algorithm="giac")
[Out]